package com.shycloud.mido.task;

import com.shycloud.mido.common.security.annotation.EnableShyFeignClients;
import com.shycloud.mido.common.security.annotation.EnableShyResourceServer;
import com.shycloud.mido.common.swagger.annotation.EnableShySwagger2;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.cloud.client.SpringCloudApplication;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.scheduling.annotation.EnableScheduling;


/**
 * 用户模块
 *
 * @author nianhua.jiang
 * @date 2020/7/8 17:12
 */
@EnableShySwagger2
@SpringCloudApplication
@EnableFeignClients(basePackages = {"com.happy.zebra","com.shycloud.mido"})
@EnableShyResourceServer
@EnableScheduling
@MapperScan({"com.shycloud.mido.common.api.mapper", "com.shycloud.mido.task.mapper"})
public class ShyTaskApplication {

	public static void main(String[] args) {
		SpringApplication.run(ShyTaskApplication.class, args);
	}

}
